package com.wanhong.springboot.ssm.framework.constant;


/**
 * @author w_yu
 * @date 2020/11/26 16:19
 * @desc
 */
public class RedisKey {

    private static final String USER_TOKEN = "user:token:";


    /**
     * 获取用户token缓存
     * @param token
     * @return
     */
    public static String getUserTokenKey(String token) {
        return USER_TOKEN + token;
    }

}
